]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
remoteSearch: We do not need a fallback for createIcon
authorTanner Doshier <doshitan@gmail.com>
Fri, 17 Aug 2012 02:22:22 +0000 (21:22 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 10 Dec 2012 21:50:53 +0000 (16:50 -0500)
Remote providers no longer have access to a grid layout, where an icon is
a requirement. If they don't specify an icon, don't create one.

https://bugzilla.gnome.org/show_bug.cgi?id=681797

js/ui/remoteSearch.js

index f10205a2f99977b5f3b46d75889b2d89417ca700..2c954d340b1c799c3bf54211e12f24da254b2b9e 100644 (file)
@@ -196,9 +196,7 @@ const RemoteSearchProvider = new Lang.Class({
                                               width, height, rowStride, size);
         }
 
-        // Ugh, but we want to fall back to something ...
-        return new St.Icon({ icon_name: 'text-x-generic',
-                             icon_size: size });
+        return null;
     },
 
     _getResultsFinished: function(results, error) {